import store from "@/store";
import {useDispatch} from "react-redux";

export const useAppDispatch = ()=>{
    type TDispatch = typeof store.dispatch;
    return useDispatch<TDispatch>();
}